{
  "name": "woocommerce/product-categories",
  "title": "Product Categories List",
  "category": "woocommerce",
  "description": "Show all product categories as a list or dropdown.",
  "keywords": [ "WooCommerce" ],
  "supports": {
    "align": [ "wide", "full" ],
    "html": false,
    "color": {
      "background": false,
      "link": true
    },
    "typography": {
      "fontSize": true,
      "lineHeight": true
    }
  },
  "attributes": {
    "align": {
      "type": "string"
    },
    "hasCount": {
      "type": "boolean",
      "default": true
    },
    "hasImage": {
      "type": "boolean",
      "default": false
    },
    "hasEmpty": {
      "type": "boolean",
      "default": false
    },
    "isDropdown": {
      "type": "boolean",
      "default": false
    },
    "isHierarchical": {
      "type": "boolean",
      "default": true
    },
	"showChildrenOnly": {
	  "type": "boolean",
	  "default": false
	}
  },
  "example": {
    "attributes": {
      "hasCount": true,
      "hasImage": false
    }
  },
  "textdomain": "woocommerce",
  "apiVersion": 2,
  "$schema": "https://schemas.wp.org/trunk/block.json"
}
